package com.tckdq.tcc.vo;

import com.tckdq.tcc.result.PageList;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AggPageList<T> extends PageList<T> {
    private HashMap<String, List<BucketVO>> aggResultMap;

    public AggPageList(Long total, List<T> rows, HashMap<String, List<BucketVO>> aggResultMap) {
        super(total, rows);
        this.aggResultMap = aggResultMap;
    }
}
